
    {if $value['data_type'] == 0 || $value['data_type'] == 1 || $value['data_type'] == 2 || $value['data_type'] == 6}
    {php echo str_replace("\n","<br/>",$datas[$key])}

    {else if $value['data_type'] == 3}
    {if !empty($datas[$key])}
    {loop $datas[$key] $k1 $v1}
    {php echo $v1}
    {/loop}
    {/if}

    {else if $value['data_type'] == 5}
    {if !empty($datas[$key])}
        {if empty($show_style)}
            {loop $datas[$key] $k1 $v1}
            <a target="_blank" href="{php echo tomedia($v1)}"><img style='height:25px;padding:1px;border:1px solid #ccc' src="{php echo tomedia($v1)}"></a>
            {/loop}
        {else if $show_style==1}
            {loop $datas[$key] $k1 $v1}
            <a target="_blank" href="{php echo tomedia($v1)}"><img style='height:25px;padding:1px;border:1px solid #ccc' src="{php echo tomedia($v1)}"></a><br>
            {/loop}
        {else if $show_style==2}
            {loop $datas[$key] $k1 $v1}
            <a target='_blank' href='{php echo tomedia($v1)}'><img style='height:25px;padding:1px;border:1px solid #ccc' src='{php echo tomedia($v1)}'></a>
            {php break;}
            {/loop}

            <a data-toggle='popover' data-html='true' data-placement='right'
               data-content="<table style='width:100%;'>
                                {loop $datas[$key] $k1 $v1}
                                <tr>
                                <td  style='border:none;text-align:right;padding:5px;'>
                                    <a target='_blank' href='{php echo tomedia($v1)}'><img style='width:100px;;padding:1px;border:1px solid #ccc' src='{php echo tomedia($v1)}'></a>
                                </td>
                                </tr>
                                {/loop}
                        </table>
           ">查看全部</a>
        {/if}
    {/if}

    {else if $value['data_type'] == 7}
    {php echo $datas[$key]}

    {else if $value['data_type'] == 8}
    {if !empty($datas[$key])}
    {loop $datas[$key] $k1 $v1}
    {php echo $v1}
    {/loop}
    {/if}

    {else if $value['data_type'] == 9}
    {php echo $datas[$key]['province']!='请选择省份'?$datas[$key]['province']:''}-{php echo $datas[$key]['city']!='请选择城市'?$datas[$key]['city']:''}
    {else if $value['data_type'] == 10}
    {php echo $datas[$key]['name1']}
    <br/>
    {php echo $datas[$key]['name2']}
    {/if}
